home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / util / rserv1.zip / README.TXT < prev    next >
Text File  |  1994-01-18  |  5KB  |  103 lines

  1. *** RServer *** (c) MJ Micro Systems 1994
  2. Allows a DOS PC to execute NT commands remotely over named pipes.
  3. ***************
  4. FEATURES:
  5. Multi-user
  6. Automatic startup as a service
  7. Security
  8. Protocol independant (uses Named-Pipes)
  9. Routable if underlying protocol is TCP/IP
  10.  
  11. ---
  12. This is a SHAREWARE program which means I only want a measly $9.95 for each
  13. NT server you use it on or $49.95 for your entire network.  The DOS client
  14. is free.  Please make checks payable to:
  15.             MJ Micro Systems
  16.             6007-C Curtier Dr.
  17.             Alexandria, Va. 22310
  18.  
  19. Other NT utilities are coming and people who register will recieve
  20. notifications and updates automatically.
  21. ---
  22.  
  23. INSTALLATION INSTRUCTIONS:
  24. --------------------------
  25. By now you've already unzipped the file to be able to read this.  What you
  26. probably didn't do was unzip this file using the -d option which unzips the
  27. RSERVER sub-directory.  So let's start at the begining.
  28.  
  29. 1) Unzip RSERVER.ZIP using the -d option onto a floppy (any type of floppy).
  30. You can alternately unzip it to your hard disk then XCOPY it to a floppy.
  31.  
  32. 2) Make the floppy your current drive and type in SETUP.
  33.  
  34. 3) Copy the file RADMIN.EXE from the root of the floppy to all the DOS PCs
  35. that you want to access your NT PC(s).  Example usage: RADMIN \\myserver
  36.  
  37. That's it...
  38.  
  39.  
  40. TECHNICAL OVERVIEW:
  41. -------------------
  42. This section is for people who want to know how this thing works so they can
  43. be more self supporting (or they are just curious).
  44.  
  45. As an overview, the host program RSERVER and SERVER wait for a DOS client
  46. (RADMIN.EXE) to connect.  It then spawns an NT command processor and hooks
  47. stdin and stdout back to the DOS client allowing the DOS client to execute NT
  48. commands as if you were actually on the NT PC.  The only drawback is you cannot
  49. remotely run programs that don't use stdin or stdout, such as graphics or
  50. edit.com.  If and when NT supports an API that allows the console to be
  51. completely redirected I'll update this program.
  52.  
  53. To test a program you are unsure about try starting it when you are on the
  54. NT PC and redirect it to a file using the > redirection.  If it writes its
  55. output to the file instead of the screen you should be OK. Or you could just
  56. run it from the DOS PC and if it doesn't work then, oh well press Ctrl-C.
  57.  
  58. RSERVER.EXE is just a program that talks to the Service Manager and fires off
  59. the process SERVER.EXE.  This allows the program to automatically start when
  60. no one is logged on.  The way services in NT work is there is a process that
  61. is registed with the Service Manager that can send and recieve info about
  62. service states.  It then fires off the parent thread or threads that actually
  63. do the work.  By controlling this master thread, the service can start, pause
  64. or stop all the child threads.  In this program I create a child process so I
  65. have to specifically suspend or terminate the process (no big deal).
  66.  
  67. SERVER.EXE is the real program that can be used with or without RSERVER.EXE.
  68. If you just use SERVER.EXE then you must be logged on and start the program
  69. either in your STARTUP group or by manually starting it.
  70.  
  71. RADMIN.EXE is the DOS software.  Not much to say here except I'm using async
  72. i/o.  This means if you type in a command such as NET START that doesn't
  73. return instantly you can still type in your next command to execute without
  74. it returning from the first.  The only catch is the characters get a little
  75. scrambled.  I've marked this as a future enhancement.
  76.  
  77. INSTSRV.EXE is something I compiled out of the Visual C for NT samples.  I use
  78. it to install RSERVER as a service.  You can use it to de-install RServer by
  79. typing in "INSTSRV RServer remove" and deleting RSERVER.EXE and SERVER.EXE
  80. from your WINDOWS or WINNT sub-directory (whatever you may have called it).
  81.  
  82. SETUP.EXE automatically figures out where NT is installed and copies the files
  83. to the right places and installs it as a service.  If you would like to put it
  84. in your own sub-directory you can by first removing it (if you installed it
  85. already), then manually copy the files RSERVER.EXE and SERVER.EXE to where ever
  86. you want, then run the INSTSRV RServer c:\your\location\RServer.exe
  87.  
  88. SUPPORT and PATCHES:
  89. --------
  90. If you have tried everything and still cannot get this program to work you
  91. can contact me through Compuserv at 76170,2475.  A better suggestion is to try
  92. the LANMAN-L listservice.  I monitor this frequently and although it's read
  93. only for me I can atleast here your suggestions and problems more quickly.
  94. Also there are quite a few very helpful people who participate on that list
  95. who could provide assistance.
  96.  
  97. Patches will be posted on Compuserv and the Internet.
  98.  
  99. SPECIAL THANKS:
  100. Mike Partain who helped me through some 'tuff spots in code.
  101. Chris Ohlandt and Al Graeff for their suggestions and testing efforts.
  102.  
  103.